package com.sy.messages;

import lombok.Data;
import lombok.ToString;

/**
 * @Author yumax
 * @Date 2024 01 16 10 08
 **/
@Data
@ToString(callSuper = true)
public class LoginRequestMessage extends Message {

    private String userName;
    private String passwd;

    public LoginRequestMessage(String userName, String passwd) {
        this.userName = userName;
        this.passwd = passwd;
    }

    @Override
    public int getMessageType() {
        return LoginRequestMessage;
    }
}
